﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000B29 RID: 2857
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MINMHDAEEHH : IMessage<MINMHDAEEHH>, IMessage, IEquatable<MINMHDAEEHH>, IDeepCloneable<MINMHDAEEHH>, IBufferMessage
	{
		// Token: 0x17002412 RID: 9234
		// (get) Token: 0x06007FD3 RID: 32723 RVA: 0x001552E9 File Offset: 0x001534E9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MINMHDAEEHH> Parser
		{
			get
			{
				return MINMHDAEEHH._parser;
			}
		}

		// Token: 0x17002413 RID: 9235
		// (get) Token: 0x06007FD4 RID: 32724 RVA: 0x001552F0 File Offset: 0x001534F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MINMHDAEEHHReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002414 RID: 9236
		// (get) Token: 0x06007FD5 RID: 32725 RVA: 0x00155302 File Offset: 0x00153502
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MINMHDAEEHH.Descriptor;
			}
		}

		// Token: 0x06007FD6 RID: 32726 RVA: 0x00155309 File Offset: 0x00153509
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MINMHDAEEHH()
		{
		}

		// Token: 0x06007FD7 RID: 32727 RVA: 0x00155311 File Offset: 0x00153511
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MINMHDAEEHH(MINMHDAEEHH other) : this()
		{
			this.pendingAction_ = ((other.pendingAction_ != null) ? other.pendingAction_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007FD8 RID: 32728 RVA: 0x00155346 File Offset: 0x00153546
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MINMHDAEEHH Clone()
		{
			return new MINMHDAEEHH(this);
		}

		// Token: 0x17002415 RID: 9237
		// (get) Token: 0x06007FD9 RID: 32729 RVA: 0x0015534E File Offset: 0x0015354E
		// (set) Token: 0x06007FDA RID: 32730 RVA: 0x00155356 File Offset: 0x00153556
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyActionInfo PendingAction
		{
			get
			{
				return this.pendingAction_;
			}
			set
			{
				this.pendingAction_ = value;
			}
		}

		// Token: 0x06007FDB RID: 32731 RVA: 0x0015535F File Offset: 0x0015355F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MINMHDAEEHH);
		}

		// Token: 0x06007FDC RID: 32732 RVA: 0x0015536D File Offset: 0x0015356D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MINMHDAEEHH other)
		{
			return other != null && (other == this || (object.Equals(this.PendingAction, other.PendingAction) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007FDD RID: 32733 RVA: 0x001553A0 File Offset: 0x001535A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.pendingAction_ != null)
			{
				num ^= this.PendingAction.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007FDE RID: 32734 RVA: 0x001553DC File Offset: 0x001535DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007FDF RID: 32735 RVA: 0x001553E4 File Offset: 0x001535E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007FE0 RID: 32736 RVA: 0x001553ED File Offset: 0x001535ED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.pendingAction_ != null)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.PendingAction);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007FE1 RID: 32737 RVA: 0x00155420 File Offset: 0x00153620
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.pendingAction_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.PendingAction);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007FE2 RID: 32738 RVA: 0x00155460 File Offset: 0x00153660
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MINMHDAEEHH other)
		{
			if (other == null)
			{
				return;
			}
			if (other.pendingAction_ != null)
			{
				if (this.pendingAction_ == null)
				{
					this.PendingAction = new TrainPartyActionInfo();
				}
				this.PendingAction.MergeFrom(other.PendingAction);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007FE3 RID: 32739 RVA: 0x001554B4 File Offset: 0x001536B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007FE4 RID: 32740 RVA: 0x001554C0 File Offset: 0x001536C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.pendingAction_ == null)
					{
						this.PendingAction = new TrainPartyActionInfo();
					}
					input.ReadMessage(this.PendingAction);
				}
			}
		}

		// Token: 0x040030ED RID: 12525
		private static readonly MessageParser<MINMHDAEEHH> _parser = new MessageParser<MINMHDAEEHH>(() => new MINMHDAEEHH());

		// Token: 0x040030EE RID: 12526
		private UnknownFieldSet _unknownFields;

		// Token: 0x040030EF RID: 12527
		public const int PendingActionFieldNumber = 1;

		// Token: 0x040030F0 RID: 12528
		private TrainPartyActionInfo pendingAction_;
	}
}
